<!DOCTYPE html>
<!--[if IE 8]> <html lang="en" class="ie8 no-js"> <![endif]-->
<!--[if IE 9]> <html lang="en" class="ie9 no-js"> <![endif]-->
<!--[if !IE]><!-->
<html lang="en">
<!--<![endif]-->
[#include "../common/head.html"/]
[@head title="user.list.title"/]
<!-- BEGIN BODY -->
<body class="page-header-fixed page-sidebar-fixed page-quick-sidebar-over-content">
[#include "../common/top.html"/]
<!-- BEGIN CONTAINER -->
<div class="page-container">
	[#include "../common/left.html"/]
	[@menu menu="user" submenu="user"/]
	<!-- BEGIN CONTENT -->
	<div class="page-content-wrapper">
		<div class="page-content">
			<!-- BEGIN SAMPLE PORTLET CONFIGURATION MODAL FORM-->
			<div id="ajax-modal" class="modal fade bs-modal" tabindex="-1"></div>
			<!-- END SAMPLE PORTLET CONFIGURATION MODAL FORM-->
			<!-- BEGIN PAGE CONTENT-->
			<div class="row">
				<div class="col-md-12">
					<!-- Begin: life time stats -->
					<div class="portlet">
						<div class="portlet-title">
							<div class="caption">
								<i class="fa fa-users"></i>[@spring.message code="user.list.caption"/]
							</div>
							<div class="actions">
								<a href="${ctx}/user/create" class="btn default yellow-stripe" data-toggle="modal" data-target="#ajax-modal">
									<i class="fa fa-plus"></i><span class="hidden-480">[@spring.message code="user.list.action.create"/]</span>
								</a>
								<div class="btn-group">
									<a class="btn default yellow-stripe" href="#" data-toggle="dropdown">
									<i class="fa fa-share"></i>
									<span class="hidden-480">批量操作</span>
									<i class="fa fa-angle-down"></i>
									</a>
									<ul class="dropdown-menu pull-right">
										<li>
											<a href="#">转移</a>
										</li>
										<li>
											<a href="#">删除</a>
										</li>
										<li>
											<a href="#">账户锁定</a>
										</li>
										<li>
											<a href="#">账户解锁</a>
										</li>
									</ul>
								</div>
							</div>
						</div>
						<div class="portlet-body">
							<div class="table-container">
								<div class="table-actions-wrapper"></div>
								<table class="table table-striped table-bordered table-hover" id="datatable_users">
									<thead>
										<tr role="row" class="heading">
		                                	<th rowspan="2" style="text-align: center; width: 85px;">[@spring.message code="datatable.column.operation"/]</th>
		                                	<th rowspan="2" class="checker-wrapper"><input type="checkbox" class="group-checkable"></th>
											<th colspan="7">[@spring.message code="user.list.datatable.column.baseInfo"/]</th>
		                                    <th colspan="5">[@spring.message code="user.list.datatable.column.statusInfo"/]</th>
		                                    <th colspan="4">[@spring.message code="user.list.datatable.column.balanceInfo"/]</th>
		                                    <th colspan="3">[@spring.message code="user.list.datatable.column.betInfo"/]</th>
		                                    <th colspan="3">[@spring.message code="user.list.datatable.column.winInfo"/]</th>
		                                    <th colspan="3">[@spring.message code="user.list.datatable.column.rechargeInfo"/]</th>
		                                    <th colspan="3">[@spring.message code="user.list.datatable.column.withdrawInfo"/]</th>
		                                    <th colspan="6">[@spring.message code="user.list.datatable.column.transferInfo"/]</th>
											<th colspan="2">[@spring.message code="user.list.datatable.column.registerInfo"/]</th>
											<th colspan="3">[@spring.message code="user.list.datatable.column.contactInfo"/]</th>
											<th colspan="2">[@spring.message code="user.list.datatable.column.loginInfo"/]</th>
											<th rowspan="2" style="vertical-align: middle; text-align: center;">[@spring.message code="user.list.datatable.column.quota"/]</th>
											<th colspan="2">[@spring.message code="datatable.column.auditInfo"/]</th>
										</tr>
										<tr role="row" class="heading">
											<th>[@spring.message code="user.list.datatable.column.userName"/]</th>
											<th>[@spring.message code="user.list.datatable.column.nickName"/]</th>
											<th>[@spring.message code="user.list.datatable.column.floor"/]</th>
											<th>[@spring.message code="user.list.datatable.column.parentName"/]</th>
											<th>[@spring.message code="user.list.datatable.column.layer"/]</th>
		                                    <th>[@spring.message code="user.list.datatable.column.accountType"/]</th>
		                                    <th>[@spring.message code="user.list.datatable.column.rebatePoint"/]</th>
		                                    <th>[@spring.message code="user.list.datatable.column.onlineStatus"/]</th>
		                                    <th>[@spring.message code="user.list.datatable.column.accountLocked"/]</th>
		                                    <th>[@spring.message code="user.list.datatable.column.loginLocked"/]</th>
		                                    <th>[@spring.message code="user.list.datatable.column.bankCardLocked"/]</th>
		                                    <th>[@spring.message code="user.list.datatable.column.layerLocked"/]</th>
		                                    <th>[@spring.message code="user.list.datatable.column.accountBalance"/]</th>
		                                    <th>[@spring.message code="user.list.datatable.column.frozenBalance"/]</th>
		                                    <th>[@spring.message code="user.list.datatable.column.agBalance"/]</th>
		                                    <th>[@spring.message code="user.list.datatable.column.bbBalance"/]</th>
		                                    <th>[@spring.message code="user.list.datatable.column.betTimes"/]</th>
		                                    <th>[@spring.message code="user.list.datatable.column.betTotal"/]</th>
		                                    <th>[@spring.message code="user.list.datatable.column.betMax"/]</th>
		                                    <th>[@spring.message code="user.list.datatable.column.winTimes"/]</th>
		                                    <th>[@spring.message code="user.list.datatable.column.winTotal"/]</th>
		                                    <th>[@spring.message code="user.list.datatable.column.winMax"/]</th>
		                                    <th>[@spring.message code="user.list.datatable.column.rechargeTimes"/]</th>
		                                    <th>[@spring.message code="user.list.datatable.column.rechargeTotal"/]</th>
		                                    <th>[@spring.message code="user.list.datatable.column.rechargeMax"/]</th>
		                                    <th>[@spring.message code="user.list.datatable.column.withdrawTimes"/]</th>
		                                    <th>[@spring.message code="user.list.datatable.column.withdrawTotal"/]</th>
		                                    <th>[@spring.message code="user.list.datatable.column.withdrawMax"/]</th>
		                                    <th>[@spring.message code="user.list.datatable.column.transferInTimes"/]</th>
		                                    <th>[@spring.message code="user.list.datatable.column.transferInTotal"/]</th>
		                                    <th>[@spring.message code="user.list.datatable.column.transferInMax"/]</th>
		                                    <th>[@spring.message code="user.list.datatable.column.transferOutTimes"/]</th>
		                                    <th>[@spring.message code="user.list.datatable.column.transferOutTotal"/]</th>
		                                    <th>[@spring.message code="user.list.datatable.column.transferOutMax"/]</th>
											<th>[@spring.message code="user.list.datatable.column.registerDate"/]</th>
		                                    <th>[@spring.message code="user.list.datatable.column.registerSource"/]</th>
		                                    <th>[@spring.message code="user.list.datatable.column.qq"/]</th>
		                                    <th>[@spring.message code="user.list.datatable.column.email"/]</th>
		                                    <th>[@spring.message code="user.list.datatable.column.mobile"/]</th>
											<th>[@spring.message code="user.list.datatable.column.lastLoginTime"/]</th>
		                                    <th>[@spring.message code="user.list.datatable.column.lastLoginAddress"/]</th>
		                                    <th>[@spring.message code="datatable.column.lastModifiedBy"/]</th>
		                                    <th>[@spring.message code="datatable.column.lastModifiedDate"/]</th>
										</tr>
										<tr role="row" class="filter">
		                                	<td>
												<div class="margin-bottom-5">
													<button class="btn btn-sm yellow filter-submit margin-bottom"><i class="fa fa-search"></i> [@spring.message code="datatable.filter.search"/]</button>
												</div>
												<button class="btn btn-sm red filter-cancel"><i class="fa fa-times"></i> [@spring.message code="datatable.filter.reset"/]</button>
											</td>
											<td></td>
											<!-- 基本资料 -->
											<td>
												<input type="text" class="form-control form-filter input-sm" name="search_EQ_userName" value="${RequestParameters["userName"]!}">
											</td>
											<td>
												<input type="text" class="form-control form-filter input-sm" name="search_EQ_nickName">
											</td>
											<td>
												<input type="text" class="form-control form-filter input-sm" name="search_EQ_floor">
											</td>
											<td>
												<input type="text" class="form-control form-filter input-sm" name="search_EQ_parentName">
											</td>
											<td>
												<select name="search_EQ_layerId" class="form-control form-filter input-sm">
													<option value="">[@spring.message code="datatable.filter.select"/]</option>
		                                            [#list userLayerList as item]
													<option value="${item.id}">${item.name}</option>
													[/#list]
												</select>
											</td>
		                                    <td>
												<select name="search_EQ_accountType" class="form-control form-filter input-sm">
													<option value="">[@spring.message code="datatable.filter.select"/]</option>
		                                            [#list enums["net.lanelife.casino.caipiao.entity.User$AccountType"]?values as item]
													<option value="${item.name()}">[@spring.message code="net.lanelife.casino.caipiao.entity.User.AccountType."+item.name()/]</option>
													[/#list]
												</select>
											</td>
		                                    <td>
												<div class="margin-bottom-5">
													<input type="text" class="form-control form-filter input-sm" name="search_GTE_rebatePoint" placeholder="[@spring.message code="datatable.filter.from"/]"/>
												</div>
												<input type="text" class="form-control form-filter input-sm" name="search_LTE_rebatePoint" placeholder="[@spring.message code="datatable.filter.to"/]"/>
											</td>
											<!-- 状态信息 -->
		                                    <td>
												<select name="search_EQ_onlineStatus" class="form-control form-filter input-sm">
													<option value="">[@spring.message code="datatable.filter.select"/]</option>
		                                            <option value="${enums["net.lanelife.casino.caipiao.entity.User$OnlineStatus"].ONLINE}">[@spring.message code="net.lanelife.casino.caipiao.entity.User.OnlineStatus.ONLINE"/]</option>
													<option value="${enums["net.lanelife.casino.caipiao.entity.User$OnlineStatus"].OFFLINE}">[@spring.message code="net.lanelife.casino.caipiao.entity.User.OnlineStatus.OFFLINE"/]</option>
												</select>
											</td>
		                                    <td>
												<select name="search_EQ_accountLocked" class="form-control form-filter input-sm">
													<option value="">[@spring.message code="datatable.filter.select"/]</option>
													<option value="false">[@spring.message code="net.lanelife.casino.caipiao.entity.User.AccountLocked.FALSE"/]</option>
		                                            <option value="true">[@spring.message code="net.lanelife.casino.caipiao.entity.User.AccountLocked.TRUE"/]</option>
												</select>
											</td>
		                                    <td>
												<select name="search_EQ_loginLocked" class="form-control form-filter input-sm">
													<option value="">[@spring.message code="datatable.filter.select"/]</option>
		                                            <option value="false">[@spring.message code="net.lanelife.casino.caipiao.entity.User.LoginLocked.FALSE"/]</option>
													<option value="true">[@spring.message code="net.lanelife.casino.caipiao.entity.User.LoginLocked.TRUE"/]</option>
												</select>
											</td>
		                                    <td>
												<select name="search_EQ_bankCardLocked" class="form-control form-filter input-sm">
													<option value="">[@spring.message code="datatable.filter.select"/]</option>
		                                            <option value="false">[@spring.message code="net.lanelife.casino.caipiao.entity.User.BankCardLocked.FALSE"/]</option>
													<option value="true">[@spring.message code="net.lanelife.casino.caipiao.entity.User.BankCardLocked.TRUE"/]</option>
												</select>
											</td>
											<td>
												<select name="search_EQ_layerLocked" class="form-control form-filter input-sm">
													<option value="">[@spring.message code="datatable.filter.select"/]</option>
		                                            <option value="false">[@spring.message code="net.lanelife.casino.caipiao.entity.User.LayerLocked.FALSE"/]</option>
													<option value="true">[@spring.message code="net.lanelife.casino.caipiao.entity.User.LayerLocked.TRUE"/]</option>
												</select>
											</td>
											<!-- 余额信息 -->
		                                    <td>
												<div class="margin-bottom-5">
													<input type="text" class="form-control form-filter input-sm" name="search_GTE_accountBalance" placeholder="[@spring.message code="datatable.filter.from"/]"/>
												</div>
												<input type="text" class="form-control form-filter input-sm" name="search_LTE_accountBalance" placeholder="[@spring.message code="datatable.filter.to"/]"/>
											</td>
		                                    <td>
												<div class="margin-bottom-5">
													<input type="text" class="form-control form-filter input-sm" name="search_GTE_frozenBalance" placeholder="[@spring.message code="datatable.filter.from"/]"/>
												</div>
												<input type="text" class="form-control form-filter input-sm" name="search_LTE_frozenBalance" placeholder="[@spring.message code="datatable.filter.to"/]"/>
											</td>
		                                    <td>
												<div class="margin-bottom-5">
													<input type="text" class="form-control form-filter input-sm" name="search_GTE_agBalance" placeholder="[@spring.message code="datatable.filter.from"/]"/>
												</div>
												<input type="text" class="form-control form-filter input-sm" name="search_LTE_agBalance" placeholder="[@spring.message code="datatable.filter.to"/]"/>
											</td>
		                                    <td>
												<div class="margin-bottom-5">
													<input type="text" class="form-control form-filter input-sm" name="search_GTE_bbBalance" placeholder="[@spring.message code="datatable.filter.from"/]"/>
												</div>
												<input type="text" class="form-control form-filter input-sm" name="search_LTE_bbBalance" placeholder="[@spring.message code="datatable.filter.to"/]"/>
											</td>
											<!-- 投注信息 -->
		                                    <td>
												<div class="margin-bottom-5">
													<input type="text" class="form-control form-filter input-sm" name="search_GTE_betTimes" placeholder="[@spring.message code="datatable.filter.from"/]"/>
												</div>
												<input type="text" class="form-control form-filter input-sm" name="search_LTE_betTimes" placeholder="[@spring.message code="datatable.filter.to"/]"/>
											</td>
		                                    <td>
												<div class="margin-bottom-5">
													<input type="text" class="form-control form-filter input-sm" name="search_GTE_betTotal" placeholder="[@spring.message code="datatable.filter.from"/]"/>
												</div>
												<input type="text" class="form-control form-filter input-sm" name="search_LTE_betTotal" placeholder="[@spring.message code="datatable.filter.to"/]"/>
											</td>
		                                    <td>
												<div class="margin-bottom-5">
													<input type="text" class="form-control form-filter input-sm" name="search_GTE_betMax" placeholder="[@spring.message code="datatable.filter.from"/]"/>
												</div>
												<input type="text" class="form-control form-filter input-sm" name="search_LTE_betMax" placeholder="[@spring.message code="datatable.filter.to"/]"/>
											</td>
											<!-- 中奖信息 -->
		                                    <td>
												<div class="margin-bottom-5">
													<input type="text" class="form-control form-filter input-sm" name="search_GTE_winTimes" placeholder="[@spring.message code="datatable.filter.from"/]"/>
												</div>
												<input type="text" class="form-control form-filter input-sm" name="search_LTE_winTimes" placeholder="[@spring.message code="datatable.filter.to"/]"/>
											</td>
		                                    <td>
												<div class="margin-bottom-5">
													<input type="text" class="form-control form-filter input-sm" name="search_GTE_winTotal" placeholder="[@spring.message code="datatable.filter.from"/]"/>
												</div>
												<input type="text" class="form-control form-filter input-sm" name="search_LTE_winTotal" placeholder="[@spring.message code="datatable.filter.to"/]"/>
											</td>
		                                    <td>
												<div class="margin-bottom-5">
													<input type="text" class="form-control form-filter input-sm" name="search_GTE_winMax" placeholder="[@spring.message code="datatable.filter.from"/]"/>
												</div>
												<input type="text" class="form-control form-filter input-sm" name="search_LTE_winMax" placeholder="[@spring.message code="datatable.filter.to"/]"/>
											</td>
		                                    <!-- 充值信息 -->
		                                    <td>
												<div class="margin-bottom-5">
													<input type="text" class="form-control form-filter input-sm" name="search_GTE_rechargeTimes" placeholder="[@spring.message code="datatable.filter.from"/]"/>
												</div>
												<input type="text" class="form-control form-filter input-sm" name="search_LTE_rechargeTimes" placeholder="[@spring.message code="datatable.filter.to"/]"/>
											</td>
		                                    <td>
												<div class="margin-bottom-5">
													<input type="text" class="form-control form-filter input-sm" name="search_GTE_rechargeTotal" placeholder="[@spring.message code="datatable.filter.from"/]"/>
												</div>
												<input type="text" class="form-control form-filter input-sm" name="search_LTE_rechargeTotal" placeholder="[@spring.message code="datatable.filter.to"/]"/>
											</td>
		                                    <td>
												<div class="margin-bottom-5">
													<input type="text" class="form-control form-filter input-sm" name="search_GTE_rechargeMax" placeholder="[@spring.message code="datatable.filter.from"/]"/>
												</div>
												<input type="text" class="form-control form-filter input-sm" name="search_LTE_rechargeMax" placeholder="[@spring.message code="datatable.filter.to"/]"/>
											</td>
											<!-- 提现信息 -->
		                                    <td>
												<div class="margin-bottom-5">
													<input type="text" class="form-control form-filter input-sm" name="search_GTE_withdrawTimes" placeholder="[@spring.message code="datatable.filter.from"/]"/>
												</div>
												<input type="text" class="form-control form-filter input-sm" name="search_LTE_withdrawTimes" placeholder="[@spring.message code="datatable.filter.to"/]"/>
											</td>
		                                    <td>
												<div class="margin-bottom-5">
													<input type="text" class="form-control form-filter input-sm" name="search_GTE_withdrawTotal" placeholder="[@spring.message code="datatable.filter.from"/]"/>
												</div>
												<input type="text" class="form-control form-filter input-sm" name="search_LTE_withdrawTotal" placeholder="[@spring.message code="datatable.filter.to"/]"/>
											</td>
		                                    <td>
												<div class="margin-bottom-5">
													<input type="text" class="form-control form-filter input-sm" name="search_GTE_withdrawMax" placeholder="[@spring.message code="datatable.filter.from"/]"/>
												</div>
												<input type="text" class="form-control form-filter input-sm" name="search_LTE_withdrawMax" placeholder="[@spring.message code="datatable.filter.to"/]"/>
											</td>
											<!-- 转账信息 -->
		                                    <td>
												<div class="margin-bottom-5">
													<input type="text" class="form-control form-filter input-sm" name="search_GTE_transferInTimes" placeholder="[@spring.message code="datatable.filter.from"/]"/>
												</div>
												<input type="text" class="form-control form-filter input-sm" name="search_LTE_transferInTimes" placeholder="[@spring.message code="datatable.filter.to"/]"/>
											</td>
		                                    <td>
												<div class="margin-bottom-5">
													<input type="text" class="form-control form-filter input-sm" name="search_GTE_transferInTotal" placeholder="[@spring.message code="datatable.filter.from"/]"/>
												</div>
												<input type="text" class="form-control form-filter input-sm" name="search_LTE_transferInTotal" placeholder="[@spring.message code="datatable.filter.to"/]"/>
											</td>
		                                    <td>
												<div class="margin-bottom-5">
													<input type="text" class="form-control form-filter input-sm" name="search_GTE_transferInMax" placeholder="[@spring.message code="datatable.filter.from"/]"/>
												</div>
												<input type="text" class="form-control form-filter input-sm" name="search_LTE_transferInMax" placeholder="[@spring.message code="datatable.filter.to"/]"/>
											</td>
											<td>
												<div class="margin-bottom-5">
													<input type="text" class="form-control form-filter input-sm" name="search_GTE_transferOutTimes" placeholder="[@spring.message code="datatable.filter.from"/]"/>
												</div>
												<input type="text" class="form-control form-filter input-sm" name="search_LTE_transferOutTimes" placeholder="[@spring.message code="datatable.filter.to"/]"/>
											</td>
		                                    <td>
												<div class="margin-bottom-5">
													<input type="text" class="form-control form-filter input-sm" name="search_GTE_transferOutTotal" placeholder="[@spring.message code="datatable.filter.from"/]"/>
												</div>
												<input type="text" class="form-control form-filter input-sm" name="search_LTE_transferOutTotal" placeholder="[@spring.message code="datatable.filter.to"/]"/>
											</td>
		                                    <td>
												<div class="margin-bottom-5">
													<input type="text" class="form-control form-filter input-sm" name="search_GTE_transferOutMax" placeholder="[@spring.message code="datatable.filter.from"/]"/>
												</div>
												<input type="text" class="form-control form-filter input-sm" name="search_LTE_transferOutMax" placeholder="[@spring.message code="datatable.filter.to"/]"/>
											</td>
											<!-- 注册信息 -->
		                                    <td>
												<div class="input-group date date-picker margin-bottom-5" data-date-format="yyyy-MM-dd HH:mm:ss">
													<input type="text" class="form-control form-filter input-sm" readonly name="search_GTE_createdDate" placeholder="[@spring.message code="datatable.filter.from"/]"/>
													<span class="input-group-btn">
														<button class="btn btn-sm default" type="button"><i class="fa fa-calendar"></i></button>
													</span>
												</div>
												<div class="input-group date date-picker" data-date-format="yyyy-MM-dd HH:mm:ss">
													<input type="text" class="form-control form-filter input-sm" readonly name="search_LTE_createdDate" placeholder="[@spring.message code="datatable.filter.to"/]"/>
													<span class="input-group-btn">
														<button class="btn btn-sm default" type="button"><i class="fa fa-calendar"></i></button>
													</span>
												</div>
											</td>
		                                    <td>
												<select name="search_EQ_registerSource" class="form-control form-filter input-sm">
													<option value="">[@spring.message code="datatable.filter.select"/]</option>
		                                            <option value="${enums["net.lanelife.casino.caipiao.entity.User$RegisterSource"].MANUAL}">[@spring.message code="net.lanelife.casino.caipiao.entity.User.RegisterSource.MANUAL"/]</option>
		                                            <option value="${enums["net.lanelife.casino.caipiao.entity.User$RegisterSource"].CODE}">[@spring.message code="net.lanelife.casino.caipiao.entity.User.RegisterSource.CODE"/]</option>
												</select>
											</td>
											<!-- 联系信息 -->
											<td>
												<input type="text" class="form-control form-filter input-sm" name="search_EQ_qq">
											</td>
											<td>
												<input type="text" class="form-control form-filter input-sm" name="search_EQ_email">
											</td>
											<td>
												<input type="text" class="form-control form-filter input-sm" name="search_EQ_mobile">
											</td>
											<!-- 登录信息 -->
		                                    <td>
												<div class="input-group date date-picker margin-bottom-5" data-date-format="yyyy-MM-dd HH:mm:ss">
													<input type="text" class="form-control form-filter input-sm" readonly name="search_GTE_lastLoginTime" placeholder="[@spring.message code="datatable.filter.from"/]"/>
													<span class="input-group-btn">
														<button class="btn btn-sm default" type="button"><i class="fa fa-calendar"></i></button>
													</span>
												</div>
												<div class="input-group date date-picker" data-date-format="yyyy-MM-dd HH:mm:ss">
													<input type="text" class="form-control form-filter input-sm" readonly name="search_LTE_lastLoginTime" placeholder="[@spring.message code="datatable.filter.to"/]"/>
													<span class="input-group-btn">
														<button class="btn btn-sm default" type="button"><i class="fa fa-calendar"></i></button>
													</span>
												</div>
											</td>
		                                    <td>
												<input type="text" class="form-control form-filter input-sm" name="search_EQ_lastLoginAddress">
											</td>
											<td></td>
											<!-- 操作信息 -->
											<td>
												<input type="text" class="form-control form-filter input-sm" name="search_EQ_lastModifiedBy">
											</td>
		                                    <td>
												<div class="input-group date date-picker margin-bottom-5" data-date-format="yyyy-MM-dd HH:mm:ss">
													<input type="text" class="form-control form-filter input-sm" readonly name="search_GTE_lastModifiedDate" placeholder="[@spring.message code="datatable.filter.from"/]"/>
													<span class="input-group-btn">
														<button class="btn btn-sm default" type="button"><i class="fa fa-calendar"></i></button>
													</span>
												</div>
												<div class="input-group date date-picker" data-date-format="yyyy-MM-dd HH:mm:ss">
													<input type="text" class="form-control form-filter input-sm" readonly name="search_LTE_lastModifiedDate" placeholder="[@spring.message code="datatable.filter.to"/]"/>
													<span class="input-group-btn">
														<button class="btn btn-sm default" type="button"><i class="fa fa-calendar"></i></button>
													</span>
												</div>
											</td>
										</tr>
									</thead>
									<tbody>
									</tbody>
									<tfoot>
										<tr>
		                                	<td style="text-align: center;">[@spring.message code="datatable.footer.aggregate"/]</td>
											<td></td>
											<td></td>
											<td></td>
											<td></td>
											<td></td>
											<td></td>
		                                    <td></td>
		                                    <td></td>
											<td></td>
											<td></td>
											<td></td>
											<td></td>
											<td></td>
											<td id="aggregate_accountBalance"></td>
											<td id="aggregate_frozenBalance"></td>
		                                    <td id="aggregate_agBalance"></td>
		                                    <td id="aggregate_bbBalance"></td>
											<td id="aggregate_betTimes"></td>
											<td id="aggregate_betTotal"></td>
											<td></td>
											<td id="aggregate_winTimes"></td>
											<td id="aggregate_winTotal"></td>
											<td></td>
											<td id="aggregate_rechargeTimes"></td>
		                                    <td id="aggregate_rechargeTotal"></td>
		                                    <td></td>
											<td id="aggregate_withdrawTimes"></td>
											<td id="aggregate_withdrawTotal"></td>
											<td></td>
											<td id="aggregate_transferInTimes"></td>
											<td id="aggregate_transferInTotal"></td>
											<td></td>
		                                    <td id="aggregate_transferOutTimes"></td>
											<td id="aggregate_transferOutTotal"></td>
		                                    <td></td>
											<td></td>
											<td></td>
											<td></td>
											<td></td>
											<td></td>
											<td></td>
		                                    <td></td>
		                                    <td></td>
		                                    <td></td>
											<td></td>
										</tr>
									</tfoot>
								</table>
							</div>
						</div>
					</div>
					<!-- End: life time stats -->
				</div>
			</div>
			<!-- END PAGE CONTENT-->
		</div>
	</div>
	<!-- END CONTENT -->
</div>
<!-- END CONTAINER -->

[#include "../common/foot.html"/]

[#assign path="${ctx}/user"/]

<script type="text/javascript">
jQuery(document).ready(function() {    
    grid.init({
        src: $("#datatable_users"),
        fixedColumns: 2,
        onSuccess: function (data) { },
        onError: function (data) { },
        dataTable: {
            "pageLength": 10,
            "ajax": {"url": "${path}"},
            "columnDefs": [{'orderable': false, 'targets': [0,1]}],
            "columns": [
                        {"render": function(data,type,full) {
							return '<div class="btn-group">'+
									'	<a href="#" class="btn blue-madison btn-xs btn-operation" data-toggle="dropdown">'+
									'		<i class="fa fa-cog"></i> ' + message['datatable.operation'] + 
									'	</a>'+
									'	<ul class="dropdown-menu pull-left">'+
									'		<li><a href="${path}/update/' + full.id + '" data-toggle="modal" data-target="#ajax-modal">' + message['operation.update'] + '</a></li>'+
									'		<li><a href="#" data-toggle="delete">' + message['operation.delete'] + '</a></li>'+
									'		<li><a href="#">转移</a></li>'+
									'		<li class="dropdown-submenu">'+
									'			<a href="#">状态变更</a>'+
									'			<ul class="dropdown-menu pull-left">'+
									'				<li><a href="#">' + (full.accountLocked ? '账户解锁' : '账户锁定') + '</a></li>'+
									'				<li><a href="#">' + (full.loginLocked ? '登录解锁' : '登录锁定') + '</a></li>'+
									'				<li><a href="#">' + (full.bankCardLocked ? '银行卡解锁' : '银行卡锁定') + '</a></li>'+
									'			</ul>'+
									'		</li>'+
									'		<li class="dropdown-submenu">'+
									'			<a href="#">额度变更</a>'+
									'			<ul class="dropdown-menu pull-left">'+
									'				<li><a href="#">额度调增</a></li>'+
									'				<li><a href="#">额度调减</a></li>'+
									'				<li><a href="#">分红发放</a></li>'+
									'				<li><a href="#">礼金发放</a></li>'+
									'				<li><a href="#">额度转换</a></li>'+
									'			</ul>'+
									'		</li>'+
									'		<li class="dropdown-submenu">'+
									'			<a href="#">交易记录</a>'+
									'			<ul class="dropdown-menu pull-left">'+
									'				<li><a href="#">交易明细</a></li>'+
									'				<li><a href="${ctx}/bet-record?userName=' + full.userName + '" target="_blank">投注记录</a></li>'+
									'				<li><a href="${ctx}/chase-record?userName=' + full.userName + '" target="_blank">追号记录</a></li>'+
									'				<li><a href="${ctx}/rebate-record?userName=' + full.userName + '" target="_blank">返点记录</a></li>'+
									'				<li><a href="${ctx}/recharge-record?userName=' + full.userName + '" target="_blank">充值记录</a></li>'+
									'				<li><a href="${ctx}/withdraw-record?userName=' + full.userName + '" target="_blank">提款记录</a></li>'+
									'				<li><a href="${ctx}/transfer-record?payerUserName=' + full.userName + '" target="_blank">转账记录</a></li>'+
									'				<li><a href="${ctx}/balance-exchange-record?userName=' + full.userName + '" target="_blank">转换记录</a></li>'+
									'				<li><a href="${ctx}/balance-change-record?userName=' + full.userName + '" target="_blank">增减记录</a></li>'+
									'				<li><a href="${ctx}/activity-prize-record?userName=' + full.userName + '" target="_blank">礼金记录</a></li>'+
									'				<li><a href="${ctx}/dividend-record?userName=' + full.userName + '" target="_blank">分红记录</a></li>'+
									'			</ul>'+
									'		</li>'+
									'		<li><a href="#">角色分配</a></li>'+
									'	</ul>'+
									'</div>';
						}},
                        {"data": "id", "render": function(data,type,full) {
                        	return '<input type="checkbox" name="id[]" value="'+data+'">';
                        }},
                        
                        {"data": "userName"},
                        {"data": "nickName"},
                        {"data": "floor"},
                        {"data": "parentName"},
                        {"data": "layerId", "render": function(data,type,full){
							return $('select[name="search_EQ_layerId"] option[value="' + data + '"]').text();
						}},
                        {"data": "accountType", "render": function(data,type,full){
                        	return message['net.lanelife.casino.caipiao.entity.User.AccountType.'+data];
                        }},
                        {"data": "rebatePoint"},
                        
                    	{"data": "onlineStatus", "render": function(data,type,full) {
                        	return data == 'ONLINE' ? '<span class="label label-sm bg-green">' + message['net.lanelife.casino.caipiao.entity.User.OnlineStatus.ONLINE'] + '</span>' : '<span class="label label-sm bg-grey-silver">' + message['net.lanelife.casino.caipiao.entity.User.OnlineStatus.OFFLINE'] + '</span>';
                        }},
                    	{"data": "accountLocked", "render": function(data,type,full) {
                        	return data ? '<span class="label label-sm label-danger">' + message['net.lanelife.casino.caipiao.entity.User.AccountLocked.TRUE'] + '</span>' : '<span class="label label-sm label-success">' + message['net.lanelife.casino.caipiao.entity.User.AccountLocked.FALSE'] + '</span>';
                        }},
                    	{"data": "loginLocked", "render": function(data,type,full) {
                        	return data ? '<span class="label label-sm label-danger">' + message['net.lanelife.casino.caipiao.entity.User.LoginLocked.TRUE'] + '</span>' : '<span class="label label-sm bg-grey-silver">' + message['net.lanelife.casino.caipiao.entity.User.LoginLocked.FALSE'] + '</span>';
                        }},
                    	{"data": "bankCardLocked", "render": function(data,type,full) {
                        	return data ? '<span class="label label-sm label-success">' + message['net.lanelife.casino.caipiao.entity.User.BankCardLocked.TRUE'] + '</span>' : '<span class="label label-sm bg-grey-silver">' + message['net.lanelife.casino.caipiao.entity.User.BankCardLocked.FALSE'] + '</span>';
                        }},
                    	{"data": "layerLocked", "render": function(data,type,full) {
                        	return data ? '<span class="label label-sm label-danger">' + message['net.lanelife.casino.caipiao.entity.User.LayerLocked.TRUE'] + '</span>' : '<span class="label label-sm bg-grey-silver">' + message['net.lanelife.casino.caipiao.entity.User.LayerLocked.FALSE'] + '</span>';
                        }},
                    	
                    	{"data": "accountBalance", "class": "right"},
                    	{"data": "frozenBalance", "class": "right"},
                    	{"data": "agBalance", "class": "right"},
                    	{"data": "bbBalance", "class": "right"},
                    	
                    	{"data": "betTimes"},
                    	{"data": "betTotal", "class": "right"},
                    	{"data": "betMax", "class": "right"},
                    	{"data": "winTimes"},
                    	{"data": "winTotal", "class": "right"},
                    	{"data": "winMax", "class": "right"},
                    	{"data": "rechargeTimes"},
                    	{"data": "rechargeTotal", "class": "right"},
                    	{"data": "rechargeMax", "class": "right"},
                    	{"data": "withdrawTimes"},
                    	{"data": "withdrawTotal", "class": "right"},
                    	{"data": "withdrawMax", "class": "right"},
                    	{"data": "transferInTimes"},
                    	{"data": "transferInTotal", "class": "right"},
                    	{"data": "transferInMax", "class": "right"},
                    	{"data": "transferOutTimes"},
                    	{"data": "transferOutTotal", "class": "right"},
                    	{"data": "transferOutMax", "class": "right"},
                    	
                    	{"data": "createdDate"},
                    	{"data": "registerSource", "render": function(data,type,full){
                        	return message['net.lanelife.casino.caipiao.entity.User.RegisterSource.'+data];
                        }},
                    	
                    	{"data": "qq"},
                    	{"data": "email"},
                    	{"data": "mobile"},
                    	
                    	{"data": "lastLoginTime"},
                    	{"data": "lastLoginAddress"},
						
						{"data": "quota"},
                    	
                    	{"data": "lastModifiedBy"},
                    	{"data": "lastModifiedDate"}
                    ],
            "order": [
                [4, "asc"]
            ]
        }
    });
});
</script>

</body>
<!-- END BODY -->
</html>